LCLint 2.2 --- 25 Aug 96 stack.c: (in function f) stack.c:12,10: Stack-allocated storage &loc reachable from return value: &loc A stack reference is pointed to by an external reference when the function returns. The stack-allocated storage is destroyed after the call, leaving a dangling reference. (-stackref will suppress message) stack.c:12,15: Stack-allocated storage *x reachable from parameter x stack.c:10,3: Storage *x becomes stack stack.c:12,15: Stack-allocated storage glob reachable from global glob stack.c:9,3: Storage glob becomes stack Finished LCLint checking --- 3 code errors found